<template>
  <div class="query2">
    <div>{{ route.query }}</div>
    <div>信息：{{ route.query.content }}</div>
    <div>年龄：{{ route.query.a }}</div>
  </div>
</template>
<script lang="ts" setup>
import { useRoute } from "vue-router";
const route = useRoute();
const age = route.query.a;
</script>
<style scoped>
.query2 {
  width: 80vw;
  height: 80vh;
  border: 1px solid red;
}
</style>
